Cause<'error>Union
PackageAxial
Represents the cause of a failed workflow.
Specification
Kind
Union
Members
12
Examples
0
IsFailSignature
this.IsFail
IsInterruptSignature
this.IsInterrupt
IsBothSignature
this.IsBoth
IsTracedSignature
this.IsTraced
IsDieSignature
this.IsDie
Summary
| Name | Signature | Synopsis |
|---|---|---|
| IsFail | this.IsFail | No description available. |
| IsInterrupt | this.IsInterrupt | No description available. |
| IsBoth | this.IsBoth | No description available. |
| IsTraced | this.IsTraced | No description available. |
| IsDie | this.IsDie | No description available. |
| IsThen | this.IsThen | No description available. |
| Fail | Fail 'error | An expected domain-specific failure. |
| Die | Die exn | An unexpected defect or panic (e.g., an exception). |
| Interrupt | Interrupt | An administrative signal to stop the workflow (e.g., cancellation). |
| Then | Then(Cause<'error>, Cause<'error>) | Two causes happened sequentially; the left cause happened before the right cause. |
| Both | Both(Cause<'error>, Cause<'error>) | Two causes happened concurrently; neither cause is ordered before the other. |
| Traced | Traced(Cause<'error>, trace) | A cause annotated with diagnostic trace text. |
An expected domain-specific failure.
Parameters
| Name | Type | Description |
|---|---|---|
| Item | 'error |
Returns
unit
An unexpected defect or panic (e.g., an exception).
Parameters
| Name | Type | Description |
|---|---|---|
| Item | exn |
Returns
unit
An administrative signal to stop the workflow (e.g., cancellation).
Returns
unit
Two causes happened sequentially; the left cause happened before the right cause.
Parameters
| Name | Type | Description |
|---|---|---|
| Item1 | Cause<'error> | |
| Item2 | Cause<'error> |
Returns
unit
Two causes happened concurrently; neither cause is ordered before the other.
Parameters
| Name | Type | Description |
|---|---|---|
| Item1 | Cause<'error> | |
| Item2 | Cause<'error> |
Returns
unit

